<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: Flags related creating and manipulating HighGUI windows and mouse events</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Flags related creating and manipulating HighGUI windows and mouse events<div class="ingroups"><a class="el" href="../../d7/dfc/group__highgui.html">High-level GUI</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:gaab4dc057947f70058c80626c9f1c25ce"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/group__highgui__window__flags.html#gaab4dc057947f70058c80626c9f1c25ce">cv::MouseEventFlags</a> { <br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaab4dc057947f70058c80626c9f1c25cead9b7a4f148eeff7eca24609f7a64adb1">cv::EVENT_FLAG_LBUTTON</a> = 1, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaab4dc057947f70058c80626c9f1c25cea1bf3e58fcb83ff3e93cdd425299a9ff4">cv::EVENT_FLAG_RBUTTON</a> = 2, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaab4dc057947f70058c80626c9f1c25cea9879aaef8e0ee2e8b8c9901774bfd594">cv::EVENT_FLAG_MBUTTON</a> = 4, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaab4dc057947f70058c80626c9f1c25cea5876848aeb4e7cc282d461f94e45a07f">cv::EVENT_FLAG_CTRLKEY</a> = 8, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaab4dc057947f70058c80626c9f1c25cea61da926b22fd4fd3aa226ef1d2893102">cv::EVENT_FLAG_SHIFTKEY</a> = 16, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaab4dc057947f70058c80626c9f1c25ceadb29046ba08e95d11696fdfd1ddb61bb">cv::EVENT_FLAG_ALTKEY</a> = 32
<br/>
 }<tr class="memdesc:gaab4dc057947f70058c80626c9f1c25ce"><td class="mdescLeft"> </td><td class="mdescRight">Mouse Event Flags see <a class="el" href="d7/dfc/group__highgui.html#gab7aed186e151d5222ef97192912127a4" title="Callback function for mouse events. see cv::setMouseCallback. ">cv::MouseCallback</a>.  <a href="../../d0/d90/group__highgui__window__flags.html#gaab4dc057947f70058c80626c9f1c25ce">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:gaab4dc057947f70058c80626c9f1c25ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga927593befdddc7e7013602bca9b079b0"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/group__highgui__window__flags.html#ga927593befdddc7e7013602bca9b079b0">cv::MouseEventTypes</a> { <br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0a8f2ec5fd35fe3f4b696518b146dcf675">cv::EVENT_MOUSEMOVE</a> = 0, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0ad3419100fc2d7688c6dbe3da030fbfd9">cv::EVENT_LBUTTONDOWN</a> = 1, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0aa3536f83b6f48da5121041f58fc7a683">cv::EVENT_RBUTTONDOWN</a> = 2, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0a1dd67e6d96873c36dd3a9670e8312a28">cv::EVENT_MBUTTONDOWN</a> = 3, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0a59cad7ffe959adf2782a110196d47bf6">cv::EVENT_LBUTTONUP</a> = 4, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0aacdda7d94278928c34b61a7bd8be9f62">cv::EVENT_RBUTTONUP</a> = 5, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0ab3fce84f2dca833e150779637db7dc1c">cv::EVENT_MBUTTONUP</a> = 6, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0ad3b2124722127f85f6b335aee8ae5fcc">cv::EVENT_LBUTTONDBLCLK</a> = 7, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0a32fba0899e8c3664d5252c059ce83d75">cv::EVENT_RBUTTONDBLCLK</a> = 8, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0afeedd6a768596d14c81bf304760edfe4">cv::EVENT_MBUTTONDBLCLK</a> = 9, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0a402b86eed36ef6cc00cb7425e817af66">cv::EVENT_MOUSEWHEEL</a> = 10, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gga927593befdddc7e7013602bca9b079b0a8c85fc9f3e42b5f4baab925cc5cce753">cv::EVENT_MOUSEHWHEEL</a> = 11
<br/>
 }<tr class="memdesc:ga927593befdddc7e7013602bca9b079b0"><td class="mdescLeft"> </td><td class="mdescRight">Mouse Events see <a class="el" href="d7/dfc/group__highgui.html#gab7aed186e151d5222ef97192912127a4" title="Callback function for mouse events. see cv::setMouseCallback. ">cv::MouseCallback</a>.  <a href="../../d0/d90/group__highgui__window__flags.html#ga927593befdddc7e7013602bca9b079b0">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:ga927593befdddc7e7013602bca9b079b0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gabf7d2c5625bc59ac130287f925557ac3"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/group__highgui__window__flags.html#gabf7d2c5625bc59ac130287f925557ac3">cv::WindowFlags</a> { <br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3a29e45c5af696f73ce5e153601e5ca0f1">cv::WINDOW_NORMAL</a> = 0x00000000, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3acf621ace7a54954cbac01df27e47228f">cv::WINDOW_AUTOSIZE</a> = 0x00000001, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3a2ae8fc6bde96d84068eb9b9957458e6f">cv::WINDOW_OPENGL</a> = 0x00001000, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3a78bc64121f612562bbb2fa23d316e84e">cv::WINDOW_FULLSCREEN</a> = 1, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3a221aaba6c23c127325e4df9eb42dab97">cv::WINDOW_FREERATIO</a> = 0x00000100, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3aa6bbb962c222cdf8b8539594a2d0d035">cv::WINDOW_KEEPRATIO</a> = 0x00000000, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3ad96269c7c3d5790ecb8856c5747dd7e5">cv::WINDOW_GUI_EXPANDED</a> =0x00000000, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggabf7d2c5625bc59ac130287f925557ac3a39cee9c8d57caf2368eaf60980dc5d70">cv::WINDOW_GUI_NORMAL</a> = 0x00000010
<br/>
 }<tr class="memdesc:gabf7d2c5625bc59ac130287f925557ac3"><td class="mdescLeft"> </td><td class="mdescRight">Flags for <a class="el" href="d7/dfc/group__highgui.html#ga5afdf8410934fd099df85c75b2e0888b" title="Creates a window. ">cv::namedWindow</a>.  <a href="../../d0/d90/group__highgui__window__flags.html#gabf7d2c5625bc59ac130287f925557ac3">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:gabf7d2c5625bc59ac130287f925557ac3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gaeedf4023e777f896ba6b9ffb156f57b8"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/d90/group__highgui__window__flags.html#gaeedf4023e777f896ba6b9ffb156f57b8">cv::WindowPropertyFlags</a> { <br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8a3b6a89b0daf2149dab93f9c6ab99fcc8">cv::WND_PROP_FULLSCREEN</a> = 0, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8a40b8385d11a44871776eed13da7808a2">cv::WND_PROP_AUTOSIZE</a> = 1, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8a635a6ff3b81e4019be4a43b64e7b2bbb">cv::WND_PROP_ASPECT_RATIO</a> = 2, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8a360f30201f153e192919289d7c002e04">cv::WND_PROP_OPENGL</a> = 3, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8a07598b61a8b3047cb93634130beddf81">cv::WND_PROP_VISIBLE</a> = 4, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8a2a1ae9effa9adebfde8c7d853f0182c0">cv::WND_PROP_TOPMOST</a> = 5, 
<br/>
  <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ggaeedf4023e777f896ba6b9ffb156f57b8abb88a2f155c805fad87b9ab65e4b82f8">cv::WND_PROP_VSYNC</a> = 6
<br/>
 }<tr class="memdesc:gaeedf4023e777f896ba6b9ffb156f57b8"><td class="mdescLeft"> </td><td class="mdescRight">Flags for <a class="el" href="d7/dfc/group__highgui.html#ga66e4a6db4d4e06148bcdfe0d70a5df27" title="Changes parameters of a window dynamically. ">cv::setWindowProperty</a> / <a class="el" href="d7/dfc/group__highgui.html#gaaf9504b8f9cf19024d9d44a14e461656" title="Provides parameters of a window. ">cv::getWindowProperty</a>.  <a href="../../d0/d90/group__highgui__window__flags.html#gaeedf4023e777f896ba6b9ffb156f57b8">More...</a><br/></td></tr>
</td></tr>
<tr class="separator:gaeedf4023e777f896ba6b9ffb156f57b8"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="gaab4dc057947f70058c80626c9f1c25ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab4dc057947f70058c80626c9f1c25ce">◆ </a></span>MouseEventFlags</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gaab4dc057947f70058c80626c9f1c25ce">cv::MouseEventFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/dd5/highgui_8hpp.html">opencv2/highgui.hpp</a>&gt;</code></p>
<p>Mouse Event Flags see <a class="el" href="../../d7/dfc/group__highgui.html#gab7aed186e151d5222ef97192912127a4" title="Callback function for mouse events. see cv::setMouseCallback. ">cv::MouseCallback</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaab4dc057947f70058c80626c9f1c25cead9b7a4f148eeff7eca24609f7a64adb1"></a>EVENT_FLAG_LBUTTON <div class="python_language">Python: cv.EVENT_FLAG_LBUTTON</div></td><td class="fielddoc"><p>indicates that the left mouse button is down. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaab4dc057947f70058c80626c9f1c25cea1bf3e58fcb83ff3e93cdd425299a9ff4"></a>EVENT_FLAG_RBUTTON <div class="python_language">Python: cv.EVENT_FLAG_RBUTTON</div></td><td class="fielddoc"><p>indicates that the right mouse button is down. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaab4dc057947f70058c80626c9f1c25cea9879aaef8e0ee2e8b8c9901774bfd594"></a>EVENT_FLAG_MBUTTON <div class="python_language">Python: cv.EVENT_FLAG_MBUTTON</div></td><td class="fielddoc"><p>indicates that the middle mouse button is down. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaab4dc057947f70058c80626c9f1c25cea5876848aeb4e7cc282d461f94e45a07f"></a>EVENT_FLAG_CTRLKEY <div class="python_language">Python: cv.EVENT_FLAG_CTRLKEY</div></td><td class="fielddoc"><p>indicates that CTRL Key is pressed. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaab4dc057947f70058c80626c9f1c25cea61da926b22fd4fd3aa226ef1d2893102"></a>EVENT_FLAG_SHIFTKEY <div class="python_language">Python: cv.EVENT_FLAG_SHIFTKEY</div></td><td class="fielddoc"><p>indicates that SHIFT Key is pressed. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaab4dc057947f70058c80626c9f1c25ceadb29046ba08e95d11696fdfd1ddb61bb"></a>EVENT_FLAG_ALTKEY <div class="python_language">Python: cv.EVENT_FLAG_ALTKEY</div></td><td class="fielddoc"><p>indicates that ALT Key is pressed. </p>
</td></tr>
</table>
</div>
</div>
<a id="ga927593befdddc7e7013602bca9b079b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga927593befdddc7e7013602bca9b079b0">◆ </a></span>MouseEventTypes</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d0/d90/group__highgui__window__flags.html#ga927593befdddc7e7013602bca9b079b0">cv::MouseEventTypes</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/dd5/highgui_8hpp.html">opencv2/highgui.hpp</a>&gt;</code></p>
<p>Mouse Events see <a class="el" href="../../d7/dfc/group__highgui.html#gab7aed186e151d5222ef97192912127a4" title="Callback function for mouse events. see cv::setMouseCallback. ">cv::MouseCallback</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0a8f2ec5fd35fe3f4b696518b146dcf675"></a>EVENT_MOUSEMOVE <div class="python_language">Python: cv.EVENT_MOUSEMOVE</div></td><td class="fielddoc"><p>indicates that the mouse pointer has moved over the window. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0ad3419100fc2d7688c6dbe3da030fbfd9"></a>EVENT_LBUTTONDOWN <div class="python_language">Python: cv.EVENT_LBUTTONDOWN</div></td><td class="fielddoc"><p>indicates that the left mouse button is pressed. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0aa3536f83b6f48da5121041f58fc7a683"></a>EVENT_RBUTTONDOWN <div class="python_language">Python: cv.EVENT_RBUTTONDOWN</div></td><td class="fielddoc"><p>indicates that the right mouse button is pressed. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0a1dd67e6d96873c36dd3a9670e8312a28"></a>EVENT_MBUTTONDOWN <div class="python_language">Python: cv.EVENT_MBUTTONDOWN</div></td><td class="fielddoc"><p>indicates that the middle mouse button is pressed. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0a59cad7ffe959adf2782a110196d47bf6"></a>EVENT_LBUTTONUP <div class="python_language">Python: cv.EVENT_LBUTTONUP</div></td><td class="fielddoc"><p>indicates that left mouse button is released. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0aacdda7d94278928c34b61a7bd8be9f62"></a>EVENT_RBUTTONUP <div class="python_language">Python: cv.EVENT_RBUTTONUP</div></td><td class="fielddoc"><p>indicates that right mouse button is released. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0ab3fce84f2dca833e150779637db7dc1c"></a>EVENT_MBUTTONUP <div class="python_language">Python: cv.EVENT_MBUTTONUP</div></td><td class="fielddoc"><p>indicates that middle mouse button is released. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0ad3b2124722127f85f6b335aee8ae5fcc"></a>EVENT_LBUTTONDBLCLK <div class="python_language">Python: cv.EVENT_LBUTTONDBLCLK</div></td><td class="fielddoc"><p>indicates that left mouse button is double clicked. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0a32fba0899e8c3664d5252c059ce83d75"></a>EVENT_RBUTTONDBLCLK <div class="python_language">Python: cv.EVENT_RBUTTONDBLCLK</div></td><td class="fielddoc"><p>indicates that right mouse button is double clicked. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0afeedd6a768596d14c81bf304760edfe4"></a>EVENT_MBUTTONDBLCLK <div class="python_language">Python: cv.EVENT_MBUTTONDBLCLK</div></td><td class="fielddoc"><p>indicates that middle mouse button is double clicked. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0a402b86eed36ef6cc00cb7425e817af66"></a>EVENT_MOUSEWHEEL <div class="python_language">Python: cv.EVENT_MOUSEWHEEL</div></td><td class="fielddoc"><p>positive and negative values mean forward and backward scrolling, respectively. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga927593befdddc7e7013602bca9b079b0a8c85fc9f3e42b5f4baab925cc5cce753"></a>EVENT_MOUSEHWHEEL <div class="python_language">Python: cv.EVENT_MOUSEHWHEEL</div></td><td class="fielddoc"><p>positive and negative values mean right and left scrolling, respectively. </p>
</td></tr>
</table>
</div>
</div>
<a id="gabf7d2c5625bc59ac130287f925557ac3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabf7d2c5625bc59ac130287f925557ac3">◆ </a></span>WindowFlags</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gabf7d2c5625bc59ac130287f925557ac3">cv::WindowFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/dd5/highgui_8hpp.html">opencv2/highgui.hpp</a>&gt;</code></p>
<p>Flags for <a class="el" href="../../d7/dfc/group__highgui.html#ga5afdf8410934fd099df85c75b2e0888b" title="Creates a window. ">cv::namedWindow</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3a29e45c5af696f73ce5e153601e5ca0f1"></a>WINDOW_NORMAL <div class="python_language">Python: cv.WINDOW_NORMAL</div></td><td class="fielddoc"><p>the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3acf621ace7a54954cbac01df27e47228f"></a>WINDOW_AUTOSIZE <div class="python_language">Python: cv.WINDOW_AUTOSIZE</div></td><td class="fielddoc"><p>the user cannot resize the window, the size is constrainted by the image displayed. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3a2ae8fc6bde96d84068eb9b9957458e6f"></a>WINDOW_OPENGL <div class="python_language">Python: cv.WINDOW_OPENGL</div></td><td class="fielddoc"><p>window with opengl support. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3a78bc64121f612562bbb2fa23d316e84e"></a>WINDOW_FULLSCREEN <div class="python_language">Python: cv.WINDOW_FULLSCREEN</div></td><td class="fielddoc"><p>change the window to fullscreen. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3a221aaba6c23c127325e4df9eb42dab97"></a>WINDOW_FREERATIO <div class="python_language">Python: cv.WINDOW_FREERATIO</div></td><td class="fielddoc"><p>the image expends as much as it can (no ratio constraint). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3aa6bbb962c222cdf8b8539594a2d0d035"></a>WINDOW_KEEPRATIO <div class="python_language">Python: cv.WINDOW_KEEPRATIO</div></td><td class="fielddoc"><p>the ratio of the image is respected. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3ad96269c7c3d5790ecb8856c5747dd7e5"></a>WINDOW_GUI_EXPANDED <div class="python_language">Python: cv.WINDOW_GUI_EXPANDED</div></td><td class="fielddoc"><p>status bar and tool bar </p>
</td></tr>
<tr><td class="fieldname"><a id="ggabf7d2c5625bc59ac130287f925557ac3a39cee9c8d57caf2368eaf60980dc5d70"></a>WINDOW_GUI_NORMAL <div class="python_language">Python: cv.WINDOW_GUI_NORMAL</div></td><td class="fielddoc"><p>old fashious way </p>
</td></tr>
</table>
</div>
</div>
<a id="gaeedf4023e777f896ba6b9ffb156f57b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaeedf4023e777f896ba6b9ffb156f57b8">◆ </a></span>WindowPropertyFlags</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d0/d90/group__highgui__window__flags.html#gaeedf4023e777f896ba6b9ffb156f57b8">cv::WindowPropertyFlags</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><code>#include &lt;<a class="el" href="../../d4/dd5/highgui_8hpp.html">opencv2/highgui.hpp</a>&gt;</code></p>
<p>Flags for <a class="el" href="../../d7/dfc/group__highgui.html#ga66e4a6db4d4e06148bcdfe0d70a5df27" title="Changes parameters of a window dynamically. ">cv::setWindowProperty</a> / <a class="el" href="../../d7/dfc/group__highgui.html#gaaf9504b8f9cf19024d9d44a14e461656" title="Provides parameters of a window. ">cv::getWindowProperty</a>. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8a3b6a89b0daf2149dab93f9c6ab99fcc8"></a>WND_PROP_FULLSCREEN <div class="python_language">Python: cv.WND_PROP_FULLSCREEN</div></td><td class="fielddoc"><p>fullscreen property (can be WINDOW_NORMAL or WINDOW_FULLSCREEN). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8a40b8385d11a44871776eed13da7808a2"></a>WND_PROP_AUTOSIZE <div class="python_language">Python: cv.WND_PROP_AUTOSIZE</div></td><td class="fielddoc"><p>autosize property (can be WINDOW_NORMAL or WINDOW_AUTOSIZE). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8a635a6ff3b81e4019be4a43b64e7b2bbb"></a>WND_PROP_ASPECT_RATIO <div class="python_language">Python: cv.WND_PROP_ASPECT_RATIO</div></td><td class="fielddoc"><p>window's aspect ration (can be set to WINDOW_FREERATIO or WINDOW_KEEPRATIO). </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8a360f30201f153e192919289d7c002e04"></a>WND_PROP_OPENGL <div class="python_language">Python: cv.WND_PROP_OPENGL</div></td><td class="fielddoc"><p>opengl support. </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8a07598b61a8b3047cb93634130beddf81"></a>WND_PROP_VISIBLE <div class="python_language">Python: cv.WND_PROP_VISIBLE</div></td><td class="fielddoc"><p>checks whether the window exists and is visible </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8a2a1ae9effa9adebfde8c7d853f0182c0"></a>WND_PROP_TOPMOST <div class="python_language">Python: cv.WND_PROP_TOPMOST</div></td><td class="fielddoc"><p>property to toggle normal window being topmost or not </p>
</td></tr>
<tr><td class="fieldname"><a id="ggaeedf4023e777f896ba6b9ffb156f57b8abb88a2f155c805fad87b9ab65e4b82f8"></a>WND_PROP_VSYNC <div class="python_language">Python: cv.WND_PROP_VSYNC</div></td><td class="fielddoc"><p>enable or disable VSYNC (in OpenGL mode) </p>
</td></tr>
</table>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:40 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
